﻿using System;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace mozhi.smarterp.BasicData.Products
{
    public interface IProductAppService : IApplicationService
    {
        Task<ProductDto> GetAsync(Guid id);

        Task<ProductDto> CreateAsync(ProductCreateDto input);

        Task<ProductDto> UpdateAsync(ProductUpdateDto input);

        Task DeleteAsync(Guid id);

        Task<PagedResultDto<ProductListDto>> GetListAsync(ProductResultRequestDto filter);
    }
}
